package com.jurassic.demo.core;

/**
 * @Author pan_jin
 * @Description: $
 * @Date: 2022/7/13 14:44
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
public class EnumTest {
    public static void main(String[] args) {
        WeekDay weekDay=WeekDay.WED;
        switch (weekDay.getDayValue()) {
        }
        if (weekDay.dayValue==3){
            System.out.println("weekDay.ordinal() = " + weekDay.getDayValue());
        }else {
            System.out.println("weekDay.name() = " + weekDay);
        }
    }
}
